home *** CD-ROM | disk | FTP | other *** search
- Path: nyx.cs.du.edu!not-for-mail
- From: fmerrow@nyx.cs.du.edu (Frank Merrow)
- Newsgroups: comp.lang.c++
- Subject: How to I set cin/cout for Binary Mode?
- Date: 6 Mar 1996 16:46:33 -0700
- Organization: /usr/lib/news/organi[sz]ation
- Distribution: na
- Message-ID: <4hl84p$88p@nyx.cs.du.edu>
- NNTP-Posting-Host: nyx.nyx.net
-
- Hi,
-
- I have just written my first C++ program to copy cin to cout. (Well
- actually I took it from Stroustrup.) The problem is that the output file
- is not the same size as the input file if I pipe a binary file through.
- In "C" I would just set the "binary" flag, but I don't see an equivalent
- in iostream.h.
-
- Where is it and what is it called?
-
- Frank
-